//
//  FPLoanDetailCell.m
//  FinanceProject
//
//  Created by 陈显摆 on 2025/2/8.
//

#import "FPLoanDetailCell.h"

@implementation FPLoanDetailCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    self.backgroundColor = UIColor.clearColor;
    self.contentView.backgroundColor = UIColor.clearColor;
    
    self.backView.clipsToBounds = YES;
    self.backView.layer.cornerRadius = 8.f;
    self.backView.backgroundColor = UIColor.whiteColor;
    
    self.periodLab.textColor = [UIColor hexColor:@"#3A3A3A"];
    self.amountLab.textColor = [UIColor hexColor:@"#3A3A3A"];
    self.retaLab.textColor = [UIColor hexColor:@"#6A6A6A"];
    self.timeLab.textColor = [UIColor hexColor:@"#6A6A6A"];
    
    self.lineView.backgroundColor = [[UIColor hexColor:@"#F3F3F3"] colorWithAlphaComponent:.5f];
    
    self.repayBtn.clipsToBounds = YES;
    self.repayBtn.layer.cornerRadius = 27.f / 2.f;
    self.repayBtn.backgroundColor = MAIN_BLUE_COLOR;
    [self.repayBtn setTitleColor:UIColor.whiteColor forState:(UIControlStateNormal)];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
